package com.mianle.userapi.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class JsonResponseData<T> implements Serializable {

    private int status;
    private String msg;
    private T result;

    public JsonResponseData(Integer status, String msg){
        this.status = status;
        this.msg = msg;
    }


}
